home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
ftn
/
atan2.z
/
atan2
Wrap
Text File
|
1998-10-30
|
5KB
|
133 lines
AAAATTTTAAAANNNN2222((((3333FFFF)))) AAAATTTTAAAANNNN2222((((3333FFFF))))
NNNNAAAAMMMMEEEE
atan2, datan2, qatan2, atan2d, datan2d, qatan2d - FORTRAN arctangent
intrinsic function
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
rrrreeeeaaaallll rrrr1111,,,, rrrr2222,,,, rrrr3333
ddddoooouuuubbbblllleeee pppprrrreeeecccciiiissssiiiioooonnnn ddddpppp1111,,,, ddddpppp2222,,,, ddddpppp3333
rrrreeeeaaaallll****11116666 qqqqpppp1111,,,, qqqqpppp2222,,,, qqqqpppp3333
rrrreeeeaaaallll****4444 rrrr4444,,,, rrrr5555,,,, rrrr6666
rrrreeeeaaaallll****8888 ddddpppp4444,,,, ddddpppp5555,,,, ddddpppp6666
rrrreeeeaaaallll****11116666 qqqqpppp4444,,,, qqqqpppp5555,,,, qqqqpppp6666
rrrr3333 ==== aaaattttaaaannnn2222((((rrrr1111,,,, rrrr2222))))
ddddpppp3333 ==== ddddaaaattttaaaannnn2222((((ddddpppp1111,,,, ddddpppp2222))))
ddddpppp3333 ==== aaaattttaaaannnn2222((((ddddpppp1111,,,, ddddpppp2222))))
qqqqpppp3333 ==== qqqqaaaattttaaaannnn2222((((qqqqpppp1111,,,, qqqqpppp2222))))
qqqqpppp3333 ==== aaaattttaaaannnn2222((((qqqqpppp1111,,,, qqqqpppp2222))))
rrrr6666 ==== aaaattttaaaannnn2222dddd((((rrrr4444,,,, rrrr5555))))
ddddpppp6666 ==== ddddaaaattttaaaannnn2222dddd((((ddddpppp4444,,,, ddddpppp5555))))
ddddpppp6666 ==== aaaattttaaaannnn2222dddd((((ddddpppp4444,,,, ddddpppp5555))))
qqqqpppp6666 ==== qqqqaaaattttaaaannnn2222dddd((((qqqqpppp4444,,,, qqqqpppp5555))))
qqqqpppp6666 ==== aaaattttaaaannnn2222dddd((((qqqqpppp4444,,,, qqqqpppp5555))))
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_a_t_a_n_2 returns the arctangent of _a_r_g_1/_a_r_g_2 as a real value. _d_a_t_a_n_2
returns the double-precision arctangent of its double-precision
arguments. _q_a_t_a_n_2 returns the real*16 arctangent of its real*16
arguments. The generic form _a_t_a_n_2 may be used with impunity with
double-precision or real*16 arguments. If the value of the first
argument of _a_t_a_n_2, _d_a_t_a_n_2, or _q_a_t_a_n_2 is positive, the result is positive.
If the value of the first argument is negative, the result is negative.
When the value of the first argument is positive/negative zero, the
result is positive/negative zero if the second argument is positive and
positive/negative Pi if the second argument is negative. If the value of
the second argument is zero, the absolute value of the result is Pi/2.
Both arguments must not have the value zero. The result of _a_t_a_n_2,
_d_a_t_a_n_2, and _q_a_t_a_n_2 is in radians and is in the range: -Pi <= result <=
Pi.
_a_t_a_n_2_d returns the arctangent of _a_r_g_1/_a_r_g_2 as a real*4 value. _d_a_t_a_n_2_d
returns the real*8 arctangent of its real*8 arguments. _q_a_t_a_n_2_d returns
the real*16 arctangent of its real*16 arguments. The generic form _a_t_a_n_2_d
may be used with impunity with real*8 or real*16 arguments. If the value
of the first argument of _a_t_a_n_2_d, _d_a_t_a_n_2_d, or _q_a_t_a_n_2_d is positive, the
result is positive. When the value of the first argument is zero, the
result is zero if the second argument is positive and 180.0 if the second
argument is negative. If the value of the first argument is negative,
PPPPaaaaggggeeee 1111
AAAATTTTAAAANNNN2222((((3333FFFF)))) AAAATTTTAAAANNNN2222((((3333FFFF))))
the result is negative. If the value of the second argument is zero, the
absolute value of the result is 90.0 . Both arguments must not have the
value zero. The result of _a_t_a_n_2_d, _d_a_t_a_n_2_d, and _q_d_a_t_a_n_2_d is in degrees
and is in the range: -180 degrees <= result <= 180 degrees.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
trig(3M).
PPPPaaaaggggeeee 2222